package com.pug.zixun.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 * @TableName kss_user
 */
@TableName(value ="user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = 2291937002306208457L;

    /**
     * 主键
     */
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 昵称
     */
    @TableField(value = "nickname")
    private String nickname;

    /**
     * 姓名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 年龄
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 性别
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 职业
     */
    @TableField(value = "job")
    private String job;

    /**
     * 工作年限
     */
    @TableField(value = "jobyear")
    private String jobyear;

    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime create_time;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime update_time;

    /**
     * 手机号
     */
    @TableField(value = "telephone")
    private String telephone;

    /**
     * 描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 微信号
     */
    @TableField(value = "weixincode")
    private String weixincode;

    /**
     * 学历
     */
    @TableField(value = "education")
    private String education;

    /**
     * 生日
     */
    @TableField(value = "birthday")
    private String birthday;

    /**
     * 头像地址
     */
    @TableField(value = "avatar")
    private String avatar;

    /**
     * 序号
     */
    @TableField(value = "code")
    private String code;

    /**
     * QQ号
     */
    @TableField(value = "qqcode")
    private String qqcode;

    /**
     * admin和normal
     */
    @TableField(value = "role")
    private String role;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 是否删除
     */
    @TableField(value = "is_delete")
    private Integer is_delete;

    /**
     * 是否禁用
     */
    @TableField(value = "forbbiden")
    private Integer forbbiden;

    /**
     * 签名
     */
    @TableField(value = "sign")
    private String sign;

    /**
     * 1 普通 2 VIP 3 年VIP 4超级VIP
     */
    @TableField(value = "vip")
    private Integer vip;

    /**
     * 学习天数
     */
    @TableField(value = "studydays")
    private Integer studydays;

    /**
     * 积分
     */
    @TableField(value = "cron")
    private Integer cron;

    /**
     * 
     */
    @TableField(value = "views")
    private Integer views;

    /**
     * 
     */
    @TableField(value = "country")
    private String country;

    /**
     * 
     */
    @TableField(value = "province")
    private String province;

    /**
     * 
     */
    @TableField(value = "city")
    private String city;

    /**
     * 
     */
    @TableField(value = "bgimg")
    private String bgimg;

    /**
     * 
     */
    @TableField(value = "bilibililink")
    private String bilibililink;

    /**
     * 
     */
    @TableField(value = "giteelink")
    private String giteelink;

    /**
     * 
     */
    @TableField(value = "bloglink")
    private String bloglink;

    /**
     * 
     */
    @TableField(value = "gznums")
    private Integer gznums;

    /**
     * 
     */
    @TableField(value = "fans")
    private Integer fans;

    /**
     * 
     */
    @TableField(value = "unionid")
    private String unionid;

    /**
     * 
     */
    @TableField(value = "openid")
    private String openid;

    /**
     * 
     */
    @TableField(value = "vip_time")
    private LocalDateTime vip_time;

}